package com.google.code.myowndatabase.storage;

import com.google.code.myowndatabase.meta.TableMetaData;

import java.nio.ByteBuffer;

public class TableStorage {

    private static final int DEFAULT_CAPACITY = 100 * 1024 * 1024; // 100 megabytes

    private final TableMetaData tableMetaData;
    private final ByteBuffer byteBuffer;

    public TableStorage(TableMetaData tableMetaData) {
        this.tableMetaData = tableMetaData;
        byteBuffer = ByteBuffer.allocate(DEFAULT_CAPACITY);
    }

}
